﻿using System;

namespace ML.Entity
{
    /// <summary>
    /// 资金账户实体
    /// </summary>
    public class CapitalAccountEntity
    {
        /// <summary>
        /// Id
        /// </summary>		
        public string Id { get; set; } = Guid.NewGuid().ToString("N");

        /// <summary>
        /// 商户Id
        /// </summary>		
        public string MerchantId { get; set; }

        /// <summary>
        /// 商户总金额
        /// </summary>		
        public decimal Balance { get; set; }

        /// <summary>
        /// 商户已提现金额
        /// </summary>		
        public decimal Withdrawed { get; set; }

        /// <summary>
        /// 删除标识
        /// </summary>		
        public int DelMark { get; set; } = (int)DeleteStatus.delete_false;

        /// <summary>
        /// 创建时间
        /// </summary>		
        public DateTime CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; } = DateTime.Now;
    }
}